#include "runnable.h"
#include "processor.h"
#include "request.h"
#include "response.h"


using namespace CThread;

namespace NetKit
{
class TaskRunnable : public Runnable
{
public:
	TaskRunnable(Processor* pProcessor, Request* pRequest, Response* pResponse, int sock_pair_fd);
	void run();
private:
	Processor* m_pProcessor;
	Request* m_pRequest;
	Response* m_pResponse;
	int m_sock_pair_fd;
};
}

